package com.gopay.common.domain.riskcontrol;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * The persistent class for the RC_ORDER_RULE_REL database table.
 * 
 */
@Entity
@Table(name="RC_ORDER_RULE_REL")
public class RcOrderRuleRel implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name = "RC_ORDER_RULE_SEQ_GENERATOR", sequenceName = "RC_ORDER_RULE_SEQ", allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "RC_ORDER_RULE_SEQ_GENERATOR")
	private long id;

	@Column(name="CREATED_TS")
	private Date createdTs;

	@Column(name="DOUBT_TRANS_ID")
	private long doubtTransId;

	public long getDoubtTransId() {
		return doubtTransId;
	}

	public void setDoubtTransId(long doubtTransId) {
		this.doubtTransId = doubtTransId;
	}

	@Column(name="RULE_CODE")
	private String ruleCode;

	@Column(name="RULE_TYPE")
	private String ruleType;



	public RcOrderRuleRel() {
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getCreatedTs() {
		return this.createdTs;
	}

	public void setCreatedTs(Date createdTs) {
		this.createdTs = createdTs;
	}


	public String getRuleCode() {
		return this.ruleCode;
	}

	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}

	public String getRuleType() {
		return this.ruleType;
	}

	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}


}